.adm-modal-body {
  &.prize-modal {
    background: url('#{$base_path}/img/game/modal-bg.png');
    background-size: 100% 100%;
  }

  background: rgb(255, 254, 254, 0.3);
  border-radius: 30px;
  position: relative;

  &::after {
    content: ' ';
    position: absolute;
    height: calc(100% - 20px);
    width: calc(100% - 20px);
    // background: ;
    border-radius: 30px;
    @include gradient(to bottom, #d5f9ff 30%, #fffefe);
    z-index: -1;
    top: 50%;
    left: 50%;
    height: calc(100% - 20px);
    width: calc(100% - 20px);
    transform: translate(-50%, -50%);
  }

  &.act-feedback-modal {
    background: rgb(255, 254, 254, 0.3);
    // background: #d1e7ff;
    padding-top: 50px;
    padding-bottom: 60px;
    max-width: 90vw;
    width: 85vw;
    // border: 2px solid #d1ebff;
    // padding: 12px !important;
    position: relative;
    overflow: visible;
    max-height: 80vh;
    @include boxSize();
    @include borderRadius(30px);

    &:after {
      // content: "";
      // position: absolute;
      // right: -8px;
      // top: -10px;
      // width: 60px;
      // height: 70px;
      // z-index: 11;
      // background-size: contain;
      // background-repeat: no-repeat;
      // background-image: url("/img/other/modal-deco-line.png");
    }

    &.close-hidden {
      >.adm-modal-content {
        >.inner {
          >.close-btn {
            //display: none !important;
          }
        }
      }
    }

    &.close-at-center-bottom {
      >.adm-modal-content {
        >.inner {
          >.close-btn {
            // top: calc(100% + 2rem);
            right: 50%;
            font-size: 3.6rem;
            @include transform(translateX(50%));
            bottom: 18px;
          }
        }
      }
    }

    >.adm-modal-content {
      //border: 2px solid #f9efd2;
      max-height: 90vh;
      //@include borderRadius(16px 84px 16px 16px);
      @include boxSize();
      min-height: 10vh;
      padding: 0;

      >.inner {
        padding: 1.2rem 0 1.2rem;

        >.close-btn {
          position: absolute;
          right: -2.4rem;
          // top: -2.6rem;
          font-size: 2.4rem;
          color: #fff;
          display: inline-block;
        }

        >.title {
          font-size: 1.8rem;
          font-weight: 800;
          color: var(--adm-color-primary);
          // color: #fff;
          white-space: nowrap;
          text-align: center;
          position: absolute;
          top: 22px;
          left: 50%;
          transform: translateX(-50%);

        }

        >.content {
          padding: 0;
          // text-align: center;

          >.inner {
            padding: 0;

            >.thumb {
              position: relative;

              .prize-item {
                position: relative;
                z-index: 11;
                width: 120px;
              }

              .deco {
                z-index: 9;
                position: absolute;

                &.deco-stripe {
                  top: 50%;
                  width: 100%;
                  left: 50%;
                  @include transform(translate(-50%, -50%));
                }
              }
            }

            >.title {
              margin-top: 1.6rem;
              font-size: 1.5rem;
              color: var(--adm-color-primary);
            }

            >.subtitle {
              margin-top: 5px;
              font-size: 1.4rem;
              color: var(--adm-color-primary);
              background: #d8e9f5;
              word-break: break-all;
              padding: 1px 3px;
              @include borderRadius(3px);
            }
          }
        }

        .operation {
          margin-top: 12px;
          position: absolute;
          bottom: 3vh;
          left: 50%;
          transform: translate(-50%);
        }
      }

    }

    >.adm-modal-footer.adm-modal-footer-empty {
      display: none;
    }


  }

  &.modal-body-noti {
    padding: 1.6rem;
    @include boxSize();
    position: relative;

    >.adm-modal-content {

      >.inner {

        >.close-btn {
          position: absolute;
          right: 1.6rem;
          top: 1.2rem;
          font-size: 2.4rem;
          display: inline-block;
        }

        >.header {
          text-align: center;
          padding: 2rem 0;

          .header-img {
            height: 2rem;
          }
        }

        >.title {}

        >.content {
          >.inner {
            text-align: center;
            padding: 1rem 0;
            line-height: 3rem;
          }
        }

        >.operation {
          padding-top: 2rem;
        }

      }
    }
  }

  // 标题 和 按钮在mask上 不在背景上
  &.price-result-modal {
    padding: 0;
    @include boxSize();
    position: relative;
    width: 90vw;
    background: rgba(255, 255, 255, 0);

    &.close-hidden {
      >.adm-modal-content {
        >.inner {
          >.close-btn {
            display: none !important;
          }
        }
      }
    }

    >.adm-modal-content {

      >.inner {

        >.close-btn {
          position: absolute;
          right: 1rem;
          top: 0;
          font-size: 2.4rem;
          color: #fff;
          display: inline-block;
        }

        >.header {
          text-align: center;
          padding: 2rem 0;

          .header-img {
            height: 2rem;
          }
        }

        >.title {
          font-size: 3.0rem;
          color: #fff;
          text-align: center;
        }

        >.content {
          padding: 1rem;
          @include borderRadius(20px);
          box-shadow: inset 0 0 18px -3px #fff;
          //border: 1px solid #fff;
          background: #d1e7ff;
          //@include borderRadius(16px 96px 16px 16px);
          position: relative;

          &:after {
            //content: "";
            position: absolute;
            right: -8px;
            top: -10px;
            width: 60px;
            height: 70px;
            z-index: 11;
            background-size: contain;
            background-repeat: no-repeat;
            background-image: url("/img/other/modal-deco-line.png");
          }

          >.inner {
            @include borderRadius(14px);
            //background: #fff;
            text-align: center;
            padding: 1.8rem 0 1.6rem;
            //border: 2px solid #f9efd2;
            //@include borderRadius(16px 84px 16px 16px);
            @include boxSize();

            .thumb {
              height: 120px;

              img {
                height: 100%;
              }
            }

            .header {
              color: var(--adm-color-primary);
              font-size: 2rem;
              margin-bottom: 1.6rem;
              white-space: pre-wrap;
            }

            .title {
              //margin-top: 3.6rem;
              margin-top: 6px;
              font-size: 2rem;
              color: #ffce53;

              text-shadow: 0 2px 0px #cc801d;
            }
          }
        }

        >.operation {
          padding-top: 2rem;
        }

      }
    }
  }

  &.prize-modal {
    .title {
      top: -14vh !important;
    }





    .adm-button.act-btn {
      background-image: url('#{$base_path}/img/game/btn-bg-warning.png');
    }
  }

  &.rule-modal {
    padding-top: 50px !important;



  }

  &.game-feedback {
    width: 85vw;
    position: relative;
    overflow: visible;
    background: #d1e7ff;

    &:after {
      position: absolute;
      top: -120px;
      left: 50%;
      @include transform(translateX(-50%));
      width: 100%;
      height: 150px;
      content: "";
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
      z-index: 1;
    }

    &.win {
      &:after {
        background-image: url(#{$base_path}/img/game/game-result-success.png);
      }
    }

    &.lose {
      &:after {
        background-image: url(#{$base_path}/img/game/game-result-fail.png);
      }
    }

    >.adm-modal-content {
      position: relative;
      z-index: 11;

      >.inner {
        text-align: center;
        padding: 36px 16px;
        color: var(--adm-color-primary);




        >.content {

          .title {
            font-size: 20px;
          }

          .subtitle {
            opacity: 0.8;
          }

          .operation {
            display: block;
            margin-bottom: 16px;

            .act-btn {
              margin-top: 16px;
            }
          }
        }

      }
    }
  }

  &.address-modal-body {
    width: 85vw;
    background: #eff4f7;

    >.adm-modal-content {
      >.inner {
        padding: 36px;

        >.content {}
      }
    }


  }

  &.cp-lottery-modal {
    .lottery-result-title {
      font-size: 2rem;
      text-align: center;
      padding: 1rem 0;
      font-weight: 800;
      font-style: italic;
      color: var(--adm-color-primary);
    }
  }

  .close-btn {
    //display: none;
  }

  .operation {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}